Skip to content

Infer execute input from inputSchema - #6

Open
MiguelsPizza wants to merge 1 commit into
webmachinelearning:mainfrom
MiguelsPizza:modelcontexttool-input-generic
Open

Infer execute input from inputSchema#6
MiguelsPizza wants to merge 1 commit into
webmachinelearning:mainfrom
MiguelsPizza:modelcontexttool-input-generic

Conversation

@MiguelsPizza

@MiguelsPizza MiguelsPizza commented Aug 20, 2026

Copy link
Copy Markdown

No description provided.

@MiguelsPizza
MiguelsPizza force-pushed the modelcontexttool-input-generic branch from 1297f52 to 7f934a9 Compare August 23, 2026 21:53
@MiguelsPizza MiguelsPizza changed the title Fix generic, Add type testing suite Infer execute input from inputSchema Aug 23, 2026
@MiguelsPizza
MiguelsPizza force-pushed the modelcontexttool-input-generic branch 7 times, most recently from 0e0778b to 012065e Compare August 24, 2026 00:23
Infer callback inputs at the registerTool boundary so inputSchema remains the single source of truth without changing the base ModelContextTool contract. Keep the schema mapper private, expose one named derived tool type for downstream declaration emit, and retain schema-less registration.

Typecheck the declaration surface with Vitest against ESNext and the current stable TypeScript compiler while preserving TypeScript 5.0 consumer compatibility.
@MiguelsPizza
MiguelsPizza force-pushed the modelcontexttool-input-generic branch from 012065e to 03cfe95 Compare August 24, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant